Skip to content

gh-135801: Add the module parameter to compile() etc#139652

Merged
serhiy-storchaka merged 10 commits intopython:mainfrom
serhiy-storchaka:wip-compile-module
Nov 13, 2025
Merged

gh-135801: Add the module parameter to compile() etc#139652
serhiy-storchaka merged 10 commits intopython:mainfrom
serhiy-storchaka:wip-compile-module

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 6, 2025

Many functions related to compiling or parsing Python code, such as compile(), ast.parse(), symtable.symtable(),
and importlib.abc.InspectLoader.source_to_code() now allow to pass the module name used when filtering syntax warnings.


📚 Documentation preview 📚: https://cpython-previews--139652.org.readthedocs.build/

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants